package com.ruoyi.fs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务对象 fs_task
 * 
 * @author hero
 * @date 2024-09-03
 */
public class FsTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 律师ID */
    @Excel(name = "律师ID")
    private Long lsId;

    /** 案件ID */
    @Excel(name = "案件ID")
    private Long caseId;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 案件状态 */
    @Excel(name = "案件状态")
    private Integer ajzt;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private Integer rwzt;

    /** 任务级别 */
    @Excel(name = "任务级别")
    private Integer jb;

    /** 记录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jlrq;

    /** 任务内容 */
    @Excel(name = "任务内容")
    private String content;


    /** 律师 */
    @Excel(name = "律师")
    private String lsMc;
    /** 任务内容 */
    @Excel(name = "案件名称")
    private String ajMc;

    private FsLawyer ls;

    private FsCase aj;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLsId(Long lsId) 
    {
        this.lsId = lsId;
    }

    public Long getLsId() 
    {
        return lsId;
    }
    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId() 
    {
        return caseId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setAjzt(Integer ajzt) 
    {
        this.ajzt = ajzt;
    }

    public Integer getAjzt() 
    {
        return ajzt;
    }
    public void setRwzt(Integer rwzt) 
    {
        this.rwzt = rwzt;
    }

    public Integer getRwzt() 
    {
        return rwzt;
    }
    public void setJb(Integer jb) 
    {
        this.jb = jb;
    }

    public Integer getJb() 
    {
        return jb;
    }
    public void setJlrq(Date jlrq) 
    {
        this.jlrq = jlrq;
    }

    public Date getJlrq() 
    {
        return jlrq;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public String getLsMc() {
        return lsMc;
    }

    public void setLsMc(String lsMc) {
        this.lsMc = lsMc;
    }

    public String getAjMc() {
        return ajMc;
    }

    public void setAjMc(String ajMc) {
        this.ajMc = ajMc;
    }

    public FsLawyer getLs() {
        return ls;
    }

    public void setLs(FsLawyer ls) {
        this.ls = ls;
    }

    public FsCase getAj() {
        return aj;
    }

    public void setAj(FsCase aj) {
        this.aj = aj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lsId", getLsId())
            .append("caseId", getCaseId())
            .append("type", getType())
            .append("ajzt", getAjzt())
            .append("rwzt", getRwzt())
            .append("jb", getJb())
            .append("jlrq", getJlrq())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
